home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat7 / wfir.7 < prev    next >
Text File  |  1999-09-16  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. wfir(1)                        Scilab Function                        wfir(1)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   wfir - linear-phase FIR filters
  13.  
  14. CALLING SEQUENCE
  15.   [wft,wfm,fr]=wfir(ftype,forder,cfreq,wtype,fpar)
  16.  
  17. PARAMETERS
  18.  
  19.   ftype
  20.        : string : 'lp','hp','bp','sb' (filter type)
  21.  
  22.   forder
  23.        : Filter order (pos integer)(odd for ftype='hp' or 'sb')
  24.  
  25.   cfreq
  26.        : 2-vector of cutoff frequencies (0<cfreq(1),cfreq(2)<.5)
  27.         only cfreq(1) is used when ftype='lp' or 'hp'
  28.  
  29.   wtype
  30.        : Window type ('re','tr','hm','hn','kr','ch')
  31.  
  32.   fpar : 2-vector of window parameters.  Kaiser window fpar(1)>0 fpar(2)=0.
  33.        Chebyshev window fpar(1)>0, fpar(2)<0 or fpar(1)<0, 0<fpar(2)<.5
  34.  
  35.   wft  : time domain filter coefficients
  36.  
  37.   wfm  : frequency domain filter response on the grid fr
  38.  
  39.   fr   : Frequency grid
  40.  
  41. DESCRIPTION
  42.   Function which makes linear-phase, FIR low-pass, band-pass, high-pass, and
  43.   stop-band filters using the windowing technique.  Works interactively if
  44.   called with no arguments.
  45.  
  46. AUTHOR
  47.   C. Bunks
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.